<%@ Page Title="" Language="C#" MasterPageFile="~/source/masterpage/Base.Master" AutoEventWireup="true" CodeBehind="ExportInvoicesDetails.aspx.cs" Inherits="QLK.Web.ExportInvoices" %>
<%@ Register assembly="eWorld.UI" namespace="eWorld.UI" tagprefix="ew" %>
<%@ Register assembly="BasicFrame.WebControls.BasicDatePicker" namespace="BasicFrame.WebControls" tagprefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style3
        {
            text-align: left;
        }
        .style4
        {
            width: 30px;
            height: 33px;
        }
        .style5
        {
            width: 670px;
            height: 33px;
        }
        .style6
        {
            text-align: left;
            height: 28px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="3" cellspacing="3" class="style1" style="width: 95%">
        <tr>
            <td colspan="2" class="style3">
                <b style="text-align: left">EXPORT INVOICE</b></td>
        </tr>
        <tr>
            <td colspan="2" class="style6">
                <asp:Label ID="lblWarning" runat="server" CssClass="msg"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width:30px">
                InvoiceID:</td>
            <td style="width:670px">
                <asp:TextBox ID="txtInvoiceID" CssClass="commonTexbox" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="** Can not null!" ValidationGroup="CheckIsNullable" 
                    ControlToValidate="txtInvoiceID"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td style="width:30px">
                Storages:</td>
            <td style="width:670px">
                <asp:DropDownList ID="drlStorages" CssClass="commonTexbox" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        
        <tr>
            <td style="width:30px">
                ExportDate:</td>
            <td style="width:670px">
                <BDP:BasicDatePicker ID="dpExportDate" CssClass="commonTexbox" runat="server" DateFormat="dd/MM/yyyy" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="** Can not null!" ValidationGroup="CheckIsNullable" 
                    ControlToValidate="dpExportDate"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td class="style4">
                CustomerID:</td>
            <td class="style5">
                <asp:TextBox ID="txtCustID" CssClass="commonTexbox" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
                <asp:ImageButton ID="ImgSeach" runat="server" Height="20px" 
                    ImageUrl="~/images/Search-icon.png" ToolTip="Search for customers" 
                    Width="20px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ErrorMessage="** Can not null!" ValidationGroup="CheckIsNullable" 
                    ControlToValidate="txtCustID"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td style="width:30px">
                EmployeeID:</td>
            <td style="width:670px">
                <asp:TextBox ID="txtEmpID" CssClass="commonTexbox" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ErrorMessage="** Can not null!" ValidationGroup="CheckIsNullable" 
                    ControlToValidate="txtEmpID"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td style="width:30px">
                <asp:Button ID="btnSave" runat="server" Text="Just Save" 
                    ValidationGroup="CheckIsNullable" onclick="btnSave_Click" CssClass="commonButton" />
            </td>
            <td>
                <asp:LinkButton ID="btnGotoInvoiceProducts" runat="server" ForeColor="Lime" 
                    onclick="btnSaveAndView_Click" ValidationGroup="CheckIsNullable">Go to invoice products</asp:LinkButton>
            </td>
        </tr>
        
        </table>
</asp:Content>
